﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PIPDiliverMap_Edit.aspx.cs" Inherits="Hisun.View.ProductInProcess.PIPDiliverMap_Edit" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
    <style type="text/css">
        .style1
        {
            width: 165px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
      <div class =" CommonPage_MainPanel">
    <div class ="CommonPage_Banner"><div class = "CommomPage_Title">编辑当前产品作业路径</div></div>
    <div class ="CommonPage_Body">
    <table style="width:100%;">
        <tr>
            <td>
                 
            </td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="Label1" runat="server" Text="产品账户ID：" SkinID="Label"></asp:Label>
                <asp:TextBox ID="TextBox_ProductID" runat="server" ReadOnly="True" 
                    SkinID="TextBox"></asp:TextBox>
                <asp:Label ID="Label2" runat="server" Text="产品账户名称：" SkinID="Label"></asp:Label>
                <asp:TextBox ID="TextBox_ProductName" runat="server" ReadOnly="True" 
                    SkinID="TextBox"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Button SkinID = "Button" ID="Button_Add" runat="server" onclick="Button_Add_Click" 
                    Text="增加" />
                <asp:Button SkinID = "Button" ID="Button_GoBack" runat="server" onclick="Button_GoBack_Click" 
                    Text="返回" />
            </td>
        </tr>
        <tr>
            <td>
                <asp:GridView ID="GridView_Query" runat="server" AutoGenerateColumns="False" 
                    SkinID="GridView" DataKeyNames="ID">
                    <Columns>
                        <asp:BoundField DataField="作业中心ID" HeaderText="作业中心ID" />
                        <asp:BoundField DataField="作业中心名称" HeaderText="作业中心名称" />
                        <asp:BoundField DataField="中间体ID" HeaderText="中间体ID" />
                        <asp:BoundField DataField="中间体名称" HeaderText="中间体名称" />
                        <asp:BoundField DataField="目标作业中心ID" HeaderText="目标中心ID" />
                        <asp:BoundField DataField="目标作业中心名称" HeaderText="目标中心名称" />
                        <asp:BoundField DataField="目标中间体ID" HeaderText="目标中间体ID" />
                        <asp:BoundField DataField="目标中间体名称" HeaderText="目标中间体名称" />
                        <asp:TemplateField>
                            <ItemTemplate>
                                <asp:Button SkinID = "Button" ID="Button_Select" runat="server" CausesValidation="False" 
                                    CommandArgument='<%# Eval("ID") %>' oncommand="Button_Select_Command" 
                                    Text="修改" />
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField>
                            <ItemTemplate>
                                <asp:Button SkinID = "Button" ID="Button_Del" runat="server" CommandArgument='<%# Eval("ID") %>' 
                                    onclientclick="return confirm('确定删除当前记录吗？')" oncommand="Button_Del_Command" 
                                    Text="删除" />
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                </asp:GridView>
            </td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td>
                <asp:Panel ID="Panel_Edit" runat="server" Visible="False">
                    <table style="width:100%;">
                        <tr>
                            <td class="style1">
                                <asp:Label ID="Label3" runat="server" Text="作业中心及中间体" SkinID="Label"></asp:Label>
                            </td>
                            <td>
                                <asp:DropDownList ID="DropDownList_CenterAndPIP" runat="server" Height="16px" 
                                    Width="381px" SkinID="DropdownList">
                                </asp:DropDownList>
                            </td>
                            <td>
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td class="style1">
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td class="style1">
                                <asp:Label ID="Label7" runat="server" Text="目标中心及目标中间体" SkinID="Label"></asp:Label>
                            </td>
                            <td colspan="3">
                                <asp:DropDownList ID="DropDownList_GoalCenterAndPIP" runat="server" 
                                    Height="16px" Width="385px" SkinID="DropdownList">
                                </asp:DropDownList>
                            </td>
                        </tr>
                        <tr>
                            <td class="style1">
                                <asp:Button SkinID = "Button" ID="Button_Save" runat="server" oncommand="Button_Save_Command" 
                                    Text="保存" />
                                <asp:Button SkinID = "Button" ID="Button_Cancel" runat="server" oncommand="Button_Cancel_Command" 
                                    Text="取消" />
                            </td>
                            <td colspan="3">
                                &nbsp;</td>
                        </tr>
                    </table>
                </asp:Panel>
            </td>
        </tr>
        <tr>
            <td>
               <asp:HiddenField ID="HF_ProductID" runat="server" Value="0" /> &nbsp;</td>
        </tr>
    </table>
    </div>    </div>
    </form>
</body>
</html>
<%=alter %>